# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-elixir
pkgver=0.2.0
pkgrel=0
pkgdesc="Elixir grammar for tree-sitter"
url="https://github.com/elixir-lang/tree-sitter-elixir"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/elixir-lang/tree-sitter-elixir/archive/v$pkgver/tree-sitter-elixir-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}

package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
c23b679e23ae3403c9e2741b5ceefce54e96fa5d9ce97d0975776340bbbac321324ed5930fd76fd525b4a06a702143715e366b8a043d243f8a60307716639feb  tree-sitter-elixir-0.2.0.tar.gz
"
